import { createApp } from 'vue'
import router from './router'
import { createPinia } from 'pinia'
import piniaPluginPersistedState from 'pinia-plugin-persistedstate'

import 'normalize.css/normalize.css'

import '@/styles/index.scss'
import 'uno.css'

import element from './plugins/element'

import App from './App.vue'

const app = createApp(App)
const pinia = createPinia()
pinia.use(piniaPluginPersistedState) // 安装持久化插件

app.use(router).use(pinia).use(element).mount('#app')
